<template>
	<view class="row">
		<image src="../../static/images/back.png" class="back" @click="goBack"></image>
		<view class="name">{{name}}</view>
		<view></view>
	</view>
</template>

<script>
	export default {
		props:{
			name:{
				type:String
			}
		},
		data() {
			return {
				
			}
		},
		methods: {
			goBack(){
				uni.navigateBack()
			}
		}
	}
</script>

<style>
	.row{
		display: flex;
		justify-content: space-around;
	}
	.back{
		width: 50px;
		height: 50px;
	}
	.name{
		color: rgba(79, 79, 79, 1);
		font-size: 36px;
		text-align: center;
		font-family: HappyZcool-2016;
	}
</style>
